package com.hq.fxh.Modle;

import java.util.List;

/**
 * /**
 *
 * @author 薛
 * @ClassName
 * @Description :
 * @Created 2017/10/10
 * @Email xlwenhao1858@sina.com
 */


public class SpaceUserPostModle {

    /**
     * code : 0
     * msg : succ
     * data : [{"post_id":31,"member_id":14227,"member_nickname":null,"member_header_url":null,"title":"用意","title_pic":["http://imgs.ledianduo.com/app/post/2017/9/26/20170926165529636420417296003129.png"],"category_id":2,"category_name":"艺术","num_read":12,"num_comment":0,"is_favorite":0},{"post_id":25,"member_id":14227,"member_nickname":null,"member_header_url":null,"title":"具体","title_pic":["http://imgs.ledianduo.com/app/post/2017/9/8/20170908152832636404813120536418.png"],"category_id":0,"category_name":"","num_read":9,"num_comment":0,"is_favorite":0},{"post_id":23,"member_id":14227,"member_nickname":null,"member_header_url":null,"title":"标题","title_pic":["http://imgs.ledianduo.com/app/post/2017/8/28/20170828173340636395384206607809.png"],"category_id":5,"category_name":"语言文化","num_read":6,"num_comment":0,"is_favorite":0},{"post_id":22,"member_id":14227,"member_nickname":null,"member_header_url":null,"title":"标题","title_pic":["http://imgs.ledianduo.com/app/post/2017/8/28/20170828173323636395384030199043.png"],"category_id":5,"category_name":"语言文化","num_read":5,"num_comment":0,"is_favorite":0},{"post_id":14,"member_id":14227,"member_nickname":null,"member_header_url":null,"title":"标题","title_pic":["http://imgs.ledianduo.com/app/post/2017/8/28/20170828153150636395311106498692.png"],"category_id":5,"category_name":"语言文化","num_read":28,"num_comment":0,"is_favorite":0},{"post_id":13,"member_id":14227,"member_nickname":null,"member_header_url":null,"title":"玩玩","title_pic":["http://imgs.ledianduo.com/app/post/2017/8/28/20170828151746636395302660577555.png","http://imgs.ledianduo.com/app/post/2017/8/28/20170828151747636395302674796366.png"],"category_id":4,"category_name":"自然","num_read":1,"num_comment":0,"is_favorite":0},{"post_id":12,"member_id":14227,"member_nickname":null,"member_header_url":null,"title":"帖子数据结构演示","title_pic":["http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png"],"category_id":2,"category_name":"艺术","num_read":1,"num_comment":0,"is_favorite":0},{"post_id":11,"member_id":14227,"member_nickname":null,"member_header_url":null,"title":"帖子数据结构演示","title_pic":["http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png"],"category_id":2,"category_name":"艺术","num_read":0,"num_comment":0,"is_favorite":0}]
     */

    private int code;
    private String msg;
    private List<UserPlateModel> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<UserPlateModel> getData() {
        return data;
    }

    public void setData(List<UserPlateModel> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * post_id : 31
         * member_id : 14227
         * member_nickname : null
         * member_header_url : null
         * title : 用意
         * title_pic : ["http://imgs.ledianduo.com/app/post/2017/9/26/20170926165529636420417296003129.png"]
         * category_id : 2
         * category_name : 艺术
         * num_read : 12
         * num_comment : 0
         * is_favorite : 0
         */

        private int post_id;
        private int member_id;
        private String member_nickname;
        private String member_header_url;
        private String title;
        private int category_id;
        private String category_name;
        private int num_read;
        private int num_comment;
        private int is_favorite;
        private List<String> title_pic;

        public int getPost_id() {
            return post_id;
        }

        public void setPost_id(int post_id) {
            this.post_id = post_id;
        }

        public int getMember_id() {
            return member_id;
        }

        public void setMember_id(int member_id) {
            this.member_id = member_id;
        }

        public String getMember_nickname() {
            return member_nickname;
        }

        public void setMember_nickname(String member_nickname) {
            this.member_nickname = member_nickname;
        }

        public String getMember_header_url() {
            return member_header_url;
        }

        public void setMember_header_url(String member_header_url) {
            this.member_header_url = member_header_url;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getCategory_id() {
            return category_id;
        }

        public void setCategory_id(int category_id) {
            this.category_id = category_id;
        }

        public String getCategory_name() {
            return category_name;
        }

        public void setCategory_name(String category_name) {
            this.category_name = category_name;
        }

        public int getNum_read() {
            return num_read;
        }

        public void setNum_read(int num_read) {
            this.num_read = num_read;
        }

        public int getNum_comment() {
            return num_comment;
        }

        public void setNum_comment(int num_comment) {
            this.num_comment = num_comment;
        }

        public int getIs_favorite() {
            return is_favorite;
        }

        public void setIs_favorite(int is_favorite) {
            this.is_favorite = is_favorite;
        }

        public List<String> getTitle_pic() {
            return title_pic;
        }

        public void setTitle_pic(List<String> title_pic) {
            this.title_pic = title_pic;
        }
    }
}
